package cn.xerllent.wxtp.utils;

public class WxTpConsts {
	/**
	 * 一级指令
	 * 微信推送过来的指令消息的InforType类型
	 */
	public static class InforType {
		public static final String SUITE_TICKET = "suite_ticket"; // 推送suite_ticket"
		public static final String CREATE_AUTH = "create_auth"; // 授权成功通知"
		public static final String CHANGE_AUTH = "change_auth"; // 变更授权通知"
		public static final String CANCEL_AUTH = "cancel_auth"; // 取消授权通知"
		public static final String REGISTER_CORP = "register_corp"; // 注册完成回调事件"
		public static final String CHANGE_CONTACT = "change_contact"; // 通讯录事件"
		public static final String CHANGE_EXTERNAL_CONTACT = "change_external_contact"; // 外部联系人事件"
		public static final String CHANGE_EXTERNAL_CHAT = "change_external_chat"; // 外部联系人客户群事件"
		public static final String CHANGE_EXTERNAL_TAG = "change_external_tag"; // 企业客户标签事件"
		public static final String CHANGE_SCHOOL_CONTACT = "change_school_contact"; // 家校通讯录变更回调"
		public static final String SHARE_AGENT_CHANGE = "share_agent_change"; // 企业互联共享应用事件回调"
		public static final String BATCH_JOB_RESULT = "batch_job_result"; // 批量任务完成通知");
	}
	
	/**
	 * 二级指令
	 */
	public static class ContactChange {
		public static final String  CREATE_USER = "create_user"; // 创建成员通知
		public static final String  UPDATE_USER = "update_user"; // 更新成员通知
		public static final String  DELETE_USER = "delete_user"; // 删除成员通知
		public static final String  CREATE_PARTY = "create_party"; // 新增部门事件
		public static final String  UPDATE_PARTY = "update_party"; // 更新部门事件
		public static final String  DELETE_PARTY = "delete_party"; // 删除部门事件
		public static final String  UPDATE_TAG = "update_tag"; // 标签成员变更事件"
	}
	
	/**
	 * 二级指令
	 */
	public static class ExtChatChange {
		public static final String CREATE = "create"; //客户群创建事件
		public static final String UPDATE = "update"; //客户群变更事件
		public static final String DISMISS = "dismiss"; //客户群解散事件
	}

	/**
	 * 二级指令
	 */
	public static class ExtContactChange {
		public static final String ADD_EXTERNAL_CONTACT = "add_external_contact"; //添加企业客户事件
		public static final String EDIT_EXTERNAL_CONTACT = "edit_external_contact"; //编辑企业客户事件
		public static final String ADD_HALF_EXTERNAL_CONTACT = "add_half_external_contact"; //外部联系人免验证添加成员事件
		public static final String DEL_EXTERNAL_CONTACT = "del_external_contact"; //删除企业客户事件
		public static final String DEL_FOLLOW_USER = "del_follow_user"; //删除跟进成员事件
		public static final String CUSTOMER_REFUSED = "customer_refused"; //客户接替失败事件"
	}

	/**
	 * 二级指令
	 */
	public static class ExtTagChange {
		public static final String CREATE = "create"; //客户群创建事件
		public static final String UPDATE = "update"; //客户群变更事件
		public static final String DISMISS = "dismiss"; //客户群解散事件
	}
	
	/**
	 * 二级指令
	 */
	public static class SchContactChange {
		public static final String CREATE_STUDENT = "create_student"; //新增学生事件
		public static final String UPDATE_STUDENT = "update_student"; //编辑学生事件
		public static final String DELETE_STUDENT = "delete_student"; //删除学生事件
		public static final String CREATE_PARENT = "create_parent"; //新增家长事件
		public static final String UPDATE_PARENT = "update_parent"; //编辑家长事件
		public static final String DELETE_PARENT = "delete_parent"; //删除家长事件
		public static final String SUBSCRIBE = "subscribe"; //家长关注事件
		public static final String UNSUBSCRIBE = "unsubscribe"; //家长取消关注事件
	}
	
}
